package com.ttg.web.service;

import com.ttg.common.entities.BasePage;
import com.ttg.model.dto.*;
import com.ttg.model.vo.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Description：
 * Author: chenyou
 * Date: 2025/8/18 15:38
 * Company: ttg
 * Copyright: Copyright (c) 2025
 */
public interface QualityManageService {

    List<QualityManageRuleListVO> rulelist(QualityManageRuleListDTO reqDto);

    QMWeightConfigVO weightConfigShow(QMWeightConfigShowDTO reqDto);

    void weightConfigEditSave(QMWeightConfigSaveDTO reqDto);

    QMLadderRuleVO ladderRuleShow(QMLadderRuleShowDTO reqDto);

    void ladderRuleEditSave(QMLadderRuleSaveDTO reqDto);

    List<SymbolVO> symbol();

    List<QMTypeRuleVO> typeRuleShow(QMTypeRuleShowDTO reqDto);

    void typeRuleEditSave(QMTypeRuleSaveDTO reqDto);

    List<String> reportSelectYears(QMReportYearMonthDTO reqDto);

    List<String> reportSelectMonths(QMReportYearMonthDTO reqDto);

    BasePage<QMIndustryReportVO> industryReport(QMReportDTO reqDto);

    void industryReportDownload(QMReportDTO reqDto, HttpServletResponse response);

    BasePage<QMMerchReportVO> merchReport(QMReportDTO reqDto);

    void merchReportDownload(QMReportDTO reqDto, HttpServletResponse response);
}
